package com.github.lee.unsplash.ui.account

import androidx.fragment.app.viewModels
import com.github.lee.mvvm.core.ui.BaseFragment
import com.github.lee.unsplash.databinding.AccountFragmentBinding

class AccountFragment : BaseFragment<AccountFragmentBinding, AccountVM>() {

    companion object {
        fun newInstance() = AccountFragment()
    }
    //===Desc:=========================================================
    
    override fun onCreateViewModel(): AccountVM = viewModels<AccountVM>().value

    override fun onCreateSuccess(): AccountFragmentBinding =
        AccountFragmentBinding.inflate(layoutInflater)

}